Skip to content

Commit

Permalink
fixed format bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cophilot committed Feb 11, 2024
1 parent 8b486bf commit da78d80
Showing 1 changed file with 42 additions and 39 deletions.
81 changes: 42 additions & 39 deletions docker-compose-prod.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
version: '3.6'
version: "3.6"
services:
wannadb:
build:
context: .
dockerfile: Dockerfile
target: prod
restart: always
tty: true
ports:
- '8000:8000'
env_file:
- wannadb_web/.env/.dev
depends_on:
- postgres
- redis
networks:
- mynetwork
wannadb:
build:
context: .
dockerfile: Dockerfile
target: prod
restart: always
tty: true
ports:
- "8000:8000"
env_file:
- wannadb_web/.env/.dev
depends_on:
- postgres
- redis
networks:
- mynetwork

worker:
build:
context: .
Expand Down Expand Up @@ -51,30 +52,32 @@ services:
depends_on:
- wannadb
- redis
postgres:
image: postgres
container_name: postgres-container
environment:
POSTGRES_PASSWORD: 0
POSTGRES_DB: userManagement
networks:
- mynetwork
ports:
- '5432:5432'
volumes:
- pgdata:/var/lib/postgresql/data

redis:
image: redis:alpine
container_name: redis-container
ports:
- '6379:6379'
networks:
- mynetwork

postgres:
image: postgres
container_name: postgres-container
environment:
POSTGRES_PASSWORD: 0
POSTGRES_DB: userManagement
networks:
- mynetwork
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data

redis:
image: redis:alpine
container_name: redis-container
ports:
- "6379:6379"
networks:
- mynetwork

networks:
mynetwork:
driver: bridge
mynetwork:
driver: bridge

volumes:
pgdata:
pgdata:

0 comments on commit da78d80

Please sign in to comment.