-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (62 loc) · 1.48 KB
/
docker-compose.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
version: "3.6"
services:
engelsburg-api:
image: paulhuerkamp/engelsburg-api
restart: unless-stopped
container_name: eb-api
depends_on:
- engelsburg-api-database
ports:
- "80:80"
- "443:8443"
links:
- engelsburg-api-database:eb-api-db
networks:
eb-api-net:
environment:
PRODUCTION: true
BLURHASH: false
DATABASE_HOSTNAME: eb-api-db
DATABASE_PORT: 3306
DATABASE_DATABASE: eb-api
DATABASE_USERNAME: eb-api
DATABASE_PASSWORD: eb-api
SERVER_PORT: 8443
SSL_ENABLED: true
SSL_KEYSTORE:
SSL_KEYSTORE_PASSWORD:
SSL_KEYSTORE_KEY_PASSWORD:
SENTRY_ENABLED:
SENTRY_DSN:
lets-encrypt-helper.domain:
lets-encrypt-helper.contact:
GOOGLE_ACCOUNT_CREDENTIALS:
SCHOOL_TOKEN:
volumes:
- /etc/letsencrypt/live:/var/ssl
# eb-api-watchtower:
# container_name: eb-api-watchtower
# image: containrrr/watchtower
# restart: unless-stopped
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# command: --interval 30
engelsburg-api-database:
image: mariadb:10.6.7
restart: unless-stopped
container_name: eb-api-db
expose:
- "3306"
networks:
eb-api-net:
environment:
MYSQL_USER: eb-api
MYSQL_PASSWORD: eb-api
MYSQL_DATABASE: eb-api
MYSQL_RANDOM_ROOT_PASSWORD: "yes"
volumes:
- eb-api-db:/var/lib/mysql
networks:
eb-api-net:
volumes:
eb-api-db: