-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
docker-compose.yml
90 lines (84 loc) · 1.94 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
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
version: "3.7"
services:
redis:
image: redis:6
command: redis-server --requirepass super_secure_password_change_me
container_name: redis
networks:
- get5
restart: always
get5db:
image: yobasystems/alpine-mariadb
container_name: get5db
restart: always
networks:
- get5
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_DATABASE=get5
- MYSQL_USER=get5
- MYSQL_PASSWORD=
- MYSQL_CHARSET=utf8mb4
- MYSQL_COLLATION=utf8mb4_general_ci
caddy:
image: lucaslorentz/caddy-docker-proxy:ci-alpine
container_name: caddy-reverse-proxy
restart: unless-stopped
networks:
- get5
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 80:80
- 443:443
environment:
- CADDY_INGRESS_NETWORKS=get5
g5api:
image: ghcr.io/phlexplexico/g5api:latest
depends_on:
- get5db
container_name: G5API
networks:
- get5
labels:
caddy: localhost
caddy.handle_path: /api/*
caddy.handle_path.0_reverse_proxy: "{{upstreams 3301}}"
volumes:
- ./public:/Get5API/public
environment:
- NODE_ENV=production
- PORT=3301
- DBKEY=
- STEAMAPIKEY=
- HOSTNAME=https://localhost
- SHAREDSECRET=
- CLIENTHOME=https://localhost
- APIURL=https://localhost/api
- SQLUSER=get5
- SQLPASSWORD=
- SQLPORT=3306
- DATABASE=get5
- SQLHOST=get5db
- ADMINS=
- SUPERADMINS=
- REDISURL=redis://:super_secure_password_change_me@redis:6379
- REDISTTL=86400
- USEREDIS=true
- UPLOADDEMOS=true
- LOCALLOGINS=false
restart: always
g5v:
image: ghcr.io/phlexplexico/g5v:latest
depends_on:
- g5api
container_name: G5V-Front-End
networks:
- get5
restart: always
labels:
caddy: localhost
caddy.reverse_proxy: "{{upstreams}}"
networks:
get5:
external: true