chore: tweak docker-compose file

This commit is contained in:
Nya Candy 2023-01-25 10:50:00 +08:00
parent a769560f31
commit d51bef2058
No known key found for this signature in database
GPG key ID: 8B1BE5E86F2E66AE
2 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View file

@ -2,3 +2,5 @@
.config/*.yml .config/*.yml
db/
redis/

View file

@ -3,7 +3,8 @@ version: "3.7"
services: services:
app: app:
image: ncr.pub/nyaone/misso:latest #image: ncr.pub/nyaone/misso:latest
build: .
restart: always restart: always
depends_on: depends_on:
- db - db
@ -15,7 +16,7 @@ services:
ports: ports:
- "127.0.0.1:8080:8080" - "127.0.0.1:8080:8080"
volumes: volumes:
- "./config.yml:/app/config.yml:ro" - "./.config/misso.yml:/app/config.yml:ro"
db: db:
image: postgres:15-alpine image: postgres:15-alpine