advent-of-code-ui/docker-compose.yml

32 lines
536 B
YAML
Raw Normal View History

2024-12-09 16:06:29 +00:00
services:
api:
restart: unless-stopped
build: backend
volumes:
- ./backend:/app:ro
expose:
- 80
server:
image: nginx:stable
restart: unless-stopped
links:
- api
environment:
- VIRTUAL_HOST=aoc.typename.fr
- API_URL=http://api:80
volumes:
- ./nginx.conf:/etc/nginx/templates/default.conf.template:ro
- ./front/dist:/www/data:ro
expose:
- 80
networks:
proxy:
default:
networks:
proxy:
name: nginxproxy
external: true