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
db/
redis/

View File

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