change: update docker-compose.dev.yml with new web & postgres service
This commit is contained in:
parent
8eb41ab8a8
commit
c3b1837589
@ -1,5 +1,26 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "3333:3333"
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
networks:
|
||||||
|
- citadel-test
|
||||||
|
postgres:
|
||||||
|
image: postgres:12.3-alpine
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- citadel-test
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: citadel
|
||||||
|
POSTGRES_PASSWORD: citadel_test
|
||||||
|
POSTGRES_DB: citadel
|
||||||
|
volumes:
|
||||||
|
- citadel-postgres:/var/lib/postgresql/data
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
||||||
mailhog:
|
mailhog:
|
||||||
image: mailhog/mailhog:latest
|
image: mailhog/mailhog:latest
|
||||||
restart: always
|
restart: always
|
||||||
@ -17,3 +38,11 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 11211:11211
|
- 11211:11211
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
citadel-postgres:
|
||||||
|
external: false
|
||||||
|
|
||||||
|
networks:
|
||||||
|
citadel-test:
|
||||||
|
driver: bridge
|
||||||
|
Loading…
Reference in New Issue
Block a user