-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (48 loc) · 1.49 KB
/
docker-compose.yml
File metadata and controls
51 lines (48 loc) · 1.49 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
51
services:
gnuboard6:
image: navystack/gnuboard-g6:nightly-latest
restart: always
logging:
options:
max-size: "10m"
volumes:
- gnuboard6-data:/g6
labels:
- "traefik.enable=true"
- "traefik.http.services.g6-srv.loadbalancer.server.port=8000"
- "traefik.http.services.g6-srv.loadbalancer.passhostheader=true"
- "traefik.http.routers.g6-rt.rule=Host(`navystack.com`) || Host(`www.navystack.com`)" ## 수정
- "traefik.http.routers.g6-rt.entrypoints=websecure"
- "traefik.http.routers.g6-rt.service=g6-srv"
- "traefik.http.routers.g6-rt.middlewares=www-to-Root@file, security-headers@file"
- "traefik.http.routers.g6-rt.tls=true"
- "traefik.http.routers.g6-rt.tls.certresolver=letsencrypt"
- "traefik.http.routers.g6-rt.tls.domains[0].main=navystack.com" ## 수정
- "traefik.http.routers.g6-rt.tls.domains[0].sans=www.navystack.com" ## 수정
networks:
- traefik-network
- internal
gnuboard6-db:
image: mysql:8
volumes:
- db_data:/var/lib/mysql
- db_socket:/var/lib/mysqld
restart: always
logging:
options:
max-size: "10m"
environment:
MYSQL_ROOT_PASSWORD: "29L2C4ZywBEChQB4asLSGEdqFqVhv0"
MYSQL_DATABASE: gnuboard6
MYSQL_USER: gnuboard6
MYSQL_PASSWORD: "8cOgMqpldKZo24656XcYaixzC3kB8D"
networks:
- internal
networks:
traefik-network:
external: true
internal:
volumes:
gnuboard6-data:
db_data:
db_socket: