Skip to content

Commit

Permalink
fixed docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maxguuse committed Mar 23, 2024
1 parent 292524f commit b0d7e9e
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ services:
image: postgres:15-alpine
ports:
- "5432:5432"
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
env_file:
- .env
volumes:
- pg-data:/var/lib/postgresql/data
migrations:
Expand All @@ -22,11 +20,8 @@ services:
max_attempts: 15
discord:
image: maxgus/birdcord:discord-latest
environment:
- ENVIRONMENT=${ENVIRONMENT}
- DISCORD_TOKEN=${DISCORD_TOKEN}
- DISCORD_ID=${DISCORD_ID}
- CONNECTION_STRING=${CONNECTION_STRING}
env_file:
- .env
deploy:
restart_policy:
condition: on-failure
Expand Down

0 comments on commit b0d7e9e

Please sign in to comment.