Skip to content

Commit

Permalink
Corrige restart automático de container
Browse files Browse the repository at this point in the history
  • Loading branch information
naaando committed Nov 8, 2023
1 parent 40c54b0 commit c4d0e13
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: '3.8'

services:
planningpoker:
image: planningpoker:latest
build:
context: ../
dockerfile: deploy/Dockerfile
env_file:
- .env
ports:
- "${APP_PORT:-80}:80"
depends_on:
- db

db:
image: postgres:13
environment:
POSTGRES_USER: ${DB_USERNAME:-postgres}
POSTGRES_PASSWORD: ${DB_PASSWORD:-password}
POSTGRES_DB: ${DB_DATABASE:-planningpoker}
volumes:
- planningpoker-postgres:/var/lib/postgresql/data

volumes:
planningpoker-postgres:
driver: local

0 comments on commit c4d0e13

Please sign in to comment.