Docker - update docker-compose

This commit is contained in:
Sam 2021-10-16 19:15:51 +02:00
parent c0b56264c3
commit 9da4f60d4b

View File

@ -6,7 +6,7 @@ services:
container_name: fittrackee-db container_name: fittrackee-db
build: ./db build: ./db
ports: ports:
- 5435:5432 - "5435:5432"
environment: environment:
- POSTGRES_USER=postgres - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
@ -15,7 +15,7 @@ services:
container_name: fittrackee container_name: fittrackee
build: . build: .
ports: ports:
- 5000:5000 - "5000:5000"
env_file: env_file:
- .env.docker - .env.docker
depends_on: depends_on:
@ -32,12 +32,11 @@ services:
image: "redis:latest" image: "redis:latest"
hostname: redis hostname: redis
ports: ports:
- 6379:6379 - "6379:6379"
mail: mail:
container_name: fittrackee-mailhog container_name: fittrackee-mailhog
image: "mailhog/mailhog" image: "mailhog/mailhog"
ports: ports:
- 1025:1025 - "1025:1025"
- 8025:8025 - "8025:8025"