-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
104 lines (92 loc) · 2.38 KB
/
docker-compose.yaml
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
92
93
94
95
96
97
98
99
100
101
102
103
104
version: "3.7"
services:
web_main:
image: ecss/web_main:main
container_name: web_main
volumes:
- web_main_data:/home/node/app/media
restart: unless-stopped
depends_on:
- db_mongo
env_file:
- ./env/web_main.env
environment:
- PORT=3000
- PAYLOAD_PUBLIC_SERVER_URL=https://society.ecs.soton.ac.uk
- NEXT_PUBLIC_SERVER_URL=https://society.ecs.soton.ac.uk
web_sotonverify:
image: ecss/web_sotonverify:main
container_name: web_sotonverify
restart: unless-stopped
env_file:
- ./env/web_sotonverify.env
environment:
- PORT=3000
- NEXTAUTH_URL=https://sotonverify.link/
# web_teamreg:
# image: ecss/web_teamreg:main
# container_name: web_teamreg
# restart: unless-stopped
# env_file:
# - ./env/web_teamreg.env
# environment:
# - PORT=3000
# - NEXTAUTH_URL=https://society.ecs.soton.ac.uk/hackathon/api/auth
# - BASE_URL=https://society.ecs.soton.ac.uk/hackathon
bot_sotonverify:
image: ecss/bot_sotonverify:main
container_name: bot_sotonverify
restart: unless-stopped
env_file:
- ./env/bot_sotonverify.env
environment:
- API_URL=https://sotonverify.link
- DISPLAY_URL=https://sotonverify.link
db_mongo:
image: mongo
container_name: db_mongo
restart: unless-stopped
volumes:
- mongodb_data:/data/db
watchtower:
image: containrrr/watchtower
container_name: watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 5
portainer:
image: portainer/portainer-ee:latest
container_name: portainer
restart: unless-stopped
command: --base-url=/service/portainer
volumes:
- portainer_data:/data
- /var/run/docker.sock:/var/run/docker.sock
# app:
# image: 'jc21/nginx-proxy-manager:latest'
# restart: unless-stopped
# ports:
# - '80:80'
# - '81:81'
# - '443:443'
# volumes:
# - ./data:/data
# - ./letsencrypt:/etc/letsencrypt
# caddy:
# image: caddy
# container_name: caddy
# restart: unless-stopped
# ports:
# - "80:80"
# - "443:443"
# - "443:443/udp"
# volumes:
# - ./Caddyfile:/etc/caddy/Caddyfile
# - caddy_data:/data
# - caddy_config:/config
volumes:
web_main_data:
mongodb_data:
portainer_data:
caddy_data:
caddy_config: