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