-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (45 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
50 lines (45 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
website:
build: axelix-website
container_name: axelix-website
restart: unless-stopped
expose:
- "3000"
networks:
- webnet
nginx:
# nginx:mainline-trixie
image: nginx@sha256:0236ee02dcbce00b9bd83e0f5fbc51069e7e1161bd59d99885b3ae1734f3392e
container_name: axelix-nginx
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./infra/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./ssl/certificate.crt:/etc/nginx/ssl/certificate.crt:ro
- ./ssl/certificate.key:/etc/nginx/ssl/certificate.key:ro
- ./ssl/certificate_ca.crt:/etc/nginx/ssl/certificate_ca.crt:ro
depends_on:
- website
networks:
- webnet
docs:
build: axelix-docs
container_name: axelix-docs
restart: unless-stopped
expose:
- "3000"
networks:
- webnet
blog:
build: axelix-blog
container_name: axelix-blog
restart: unless-stopped
expose:
- "3000"
networks:
- webnet
networks:
webnet:
driver: bridge