fixed gamesclub

This commit is contained in:
Brodin 2024-08-09 02:35:33 -04:00
parent b9eeffbe42
commit f5ede9f030
3 changed files with 6 additions and 6 deletions

View File

@ -14,14 +14,12 @@ services:
database__connection__user: root database__connection__user: root
database__connection__password: ${DBPASS} database__connection__password: ${DBPASS}
database__connection__database: ghost database__connection__database: ghost
# VIRTUAL_HOST: "www.${DOMAIN}, ${DOMAIN}" VIRTUAL_HOST: "${DOMAIN}, www.${DOMAIN}"
VIRTUAL_HOST: "club.${DOMAIN}"
VIRTUAL_PORT: 2369 VIRTUAL_PORT: 2369
# LETSENCRYPT_HOST: "${DOMAIN}, www.${DOMAIN}" LETSENCRYPT_HOST: "${DOMAIN}, www.${DOMAIN}"
LETSENCRYPT_HOST: "club.${DOMAIN}"
LETSENCRYPT_EMAIL: ${EMAIL} LETSENCRYPT_EMAIL: ${EMAIL}
# url: http://0.0.0.0:2369 #Dev # url: http://0.0.0.0:2369 #Dev
url: "https://club.${DOMAIN}" #Prod url: "https://${DOMAIN}" #Prod
# contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired) # contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
# NODE_ENV: development # NODE_ENV: development
volumes: volumes:

2
sites/gamesclub/update.sh Executable file
View File

@ -0,0 +1,2 @@
sudo docker cp config.development.json gamesclub-ghost-1:/var/lib/ghost/.
sudo docker cp config.production.json gamesclub-ghost-1:/var/lib/ghost/.

View File

@ -22,7 +22,7 @@ services:
# url: http://0.0.0.0:2370 #Dev # url: http://0.0.0.0:2370 #Dev
url: "https://photos.${DOMAIN}" #Prod url: "https://photos.${DOMAIN}" #Prod
# contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired) # contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explicitly specified if desired)
# NODE_ENV: development NODE_ENV: production
volumes: volumes:
- ./content:/var/lib/ghost/content - ./content:/var/lib/ghost/content
# - ./themes:/var/lib/ghost/current/content/themes:rw # - ./themes:/var/lib/ghost/current/content/themes:rw