ghost
This commit is contained in:
@@ -11,6 +11,9 @@ services:
|
||||
database__connection__user: root
|
||||
database__connection__password: RJbhYNaCEB3fu8cbtkteetxTR5LtZjnPsqATGgPZ
|
||||
database__connection__database: ghostdb
|
||||
networks:
|
||||
- traefik
|
||||
- default
|
||||
depends_on:
|
||||
- ghost_db
|
||||
restart: unless-stopped
|
||||
@@ -21,7 +24,10 @@ services:
|
||||
- "traefik.http.routers.ghost.entrypoints=websecure"
|
||||
- "traefik.http.routers.ghost.rule=Host(`read.$DOMAIN_NAME`)"
|
||||
- "traefik.http.routers.ghost.tls.certresolver=letsencr"
|
||||
|
||||
ghost_db:
|
||||
networks:
|
||||
- default
|
||||
image: mysql:8
|
||||
restart: unless-stopped
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
@@ -31,6 +37,9 @@ services:
|
||||
- /srv/ghost_mysql:/var/lib/mysql
|
||||
ports:
|
||||
- 3306:3306
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
default:
|
||||
external: false
|
||||
Reference in New Issue
Block a user