Merge branch 'main' of https://sigyl.com/git/village-hall/web-site into main
This commit is contained in:
commit
8f7bf442a2
|
@ -23,5 +23,13 @@
|
||||||
"password": "$DBPASSWORD",
|
"password": "$DBPASSWORD",
|
||||||
"database": "ghostdb"
|
"database": "ghostdb"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"spam": {
|
||||||
|
"user_login": {
|
||||||
|
"freeRetries": 1000
|
||||||
|
},
|
||||||
|
"member_login": {
|
||||||
|
"freeRetries": 1000
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
docker stack rm rose-ash
|
docker stack rm rose-ash
|
||||||
|
. ./.env
|
||||||
for i in 1 2 3 4 5 6 7 8 9 10; do sleep 5 && docker stack deploy -c docker-compose.yml rose-ash && break ; done
|
echo $CERTBOT_EMAIL
|
||||||
|
echo $DOMAIN
|
||||||
|
for i in 1 2 3 4 5 6 7 8 9 10; do sleep 5 && docker stack deploy -c docker-compose.yml rose-ash && break ; done
|
||||||
|
|
|
@ -2,10 +2,8 @@ version: "3.3"
|
||||||
services:
|
services:
|
||||||
ghost:
|
ghost:
|
||||||
image: rose-ash-ghost:latest
|
image: rose-ash-ghost:latest
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
environment:
|
environment:
|
||||||
url: https://sigyl.com:4000/
|
url: https://roseash.info/
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
volumes:
|
volumes:
|
||||||
- ghost-content:/var/lib/ghost/content
|
- ghost-content:/var/lib/ghost/content
|
||||||
|
@ -17,25 +15,23 @@ services:
|
||||||
- db-password
|
- db-password
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb:latest
|
image: mysql:latest
|
||||||
environment:
|
environment:
|
||||||
FILE__MYSQL_ROOT_PASSWORD: /run/secrets/db-root-password
|
MYSQL_ROOT_PASSWORD: mysqlrootpass
|
||||||
MYSQL_USER: ghost
|
MYSQL_USER: ghost
|
||||||
FILE__MYSQL_PASSWORD: /run/secrets/db-password
|
MYSQL_PASSWORD: ghostdbpass
|
||||||
MYSQL_DATABASE: ghostdb
|
MYSQL_DATABASE: ghostdb
|
||||||
volumes:
|
volumes:
|
||||||
- ghost-db:/var/lib/mysql
|
- ghost-mysql-db:/var/lib/mysql
|
||||||
networks:
|
networks:
|
||||||
- appnet
|
- appnet
|
||||||
secrets:
|
secrets:
|
||||||
- db-password
|
- db-password
|
||||||
- db-root-password
|
- db-root-password
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ghost-content:
|
ghost-content:
|
||||||
ghost-config:
|
ghost-config:
|
||||||
ghost-db:
|
ghost-mysql-db:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
appnet:
|
appnet:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
|
@ -49,3 +45,4 @@ secrets:
|
||||||
file: ./.db-password
|
file: ./.db-password
|
||||||
db-root-password:
|
db-root-password:
|
||||||
file: ./.db-root-password
|
file: ./.db-root-password
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue