chore: tweak docker-compose file
This commit is contained in:
parent
a769560f31
commit
d51bef2058
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,3 +2,5 @@
|
||||||
|
|
||||||
.config/*.yml
|
.config/*.yml
|
||||||
|
|
||||||
|
db/
|
||||||
|
redis/
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue