Update docker-compose.dev.yaml

This commit is contained in:
Andros Fenollosa 2021-04-07 08:56:57 +02:00 committed by GitHub
parent afd6711f64
commit d198f9837a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ services:
db: db:
image: postgres image: postgres
restart: always restart: unless-stopped
volumes: volumes:
- ./../postgres_data:/var/lib/postgresql/data - ./../postgres_data:/var/lib/postgresql/data
environment: environment:
@ -17,7 +17,7 @@ services:
build: build:
context: . context: .
dockerfile: ./Dockerfiles/django/Dockerfile dockerfile: ./Dockerfiles/django/Dockerfile
restart: always restart: unless-stopped
entrypoint: /django-launcher.dev.sh entrypoint: /django-launcher.dev.sh
volumes: volumes:
- .:/usr/src/app/ - .:/usr/src/app/
@ -46,7 +46,7 @@ services:
caddy: caddy:
image: caddy:alpine image: caddy:alpine
restart: always restart: unless-stopped
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
@ -59,7 +59,7 @@ services:
mailhog: mailhog:
image: mailhog/mailhog:latest image: mailhog/mailhog:latest
restart: always restart: unless-stopped
expose: expose:
- 1025:1025 - 1025:1025
ports: ports: