forked from KatanaKarl/whataboutantennas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-dev.yml
91 lines (85 loc) · 1.84 KB
/
docker-compose-dev.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: '3.7'
networks:
antennanet:
services:
nginx:
build:
context: ./nginx
dockerfile: Dockerfile.dev
restart: unless-stopped
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
ports:
- 80:80
- 443:443
volumes:
- ./cms/cms/static:/cms/static
- /etc/letsencrypt:/etc/letsencrypt
depends_on:
- nuxt
networks:
antennanet:
aliases:
- nginx
nextcloud:
env_file: .env.cloud
container_name: nextcloud
image: linuxserver/nextcloud
hostname: "cloud.antennafield.guide"
extra_hosts:
- 'postgres:172.17.0.1'
volumes:
- ./cloud/config:/config
- ./cloud/data:/data
expose:
- 8001
restart: unless-stopped
networks:
antennanet:
aliases:
- nextcloud
nuxt:
restart: always
build:
context: ./nuxt
dockerfile: Dockerfile.dev
volumes:
- ./nuxt:/app
- /app/node_modules
- /app/.nuxt
expose:
- 3000
depends_on:
- cms
links:
- cms
networks:
antennanet:
aliases:
- nuxt
cms:
env_file: .env
restart: always
build: ./cms
entrypoint: /usr/bin/entrypoint.sh
expose:
- 8000
working_dir: /app
volumes:
- ./cms:/app
- ./cms/entrypoint.sh:/usr/bin/entrypoint.sh
extra_hosts:
- 'postgres:172.17.0.1'
networks:
antennanet:
aliases:
- cms
certbot:
restart: unless-stopped
image: certbot/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
volumes:
- ./etc/letsencrypt:/etc/letsencrypt
networks:
antennanet:
aliases:
- certbot