ft_transcendence/docker-compose.yml
2023-10-09 15:22:04 +02:00

35 lines
501 B
YAML

version: '3.8'
name: transcendence
services:
nginx:
image: nginx
build: ./nginx/
networks:
- network
ports:
- "8080:80"
depends_on:
- postgres
container_name: nginx
restart: always
postgres:
image: postgres
networks:
- network
volumes:
- db:/var/lib/postgresql/data
container_name: postgres
restart: always
environment:
- "POSTGRES_PASSWORD=michel"
volumes:
db:
networks:
network:
driver: bridge