28 lines
474 B
YAML
28 lines
474 B
YAML
services:
|
|
backend:
|
|
image: rither:dev
|
|
environment:
|
|
- LISTEN_PORT=${BACKEND_PORT}
|
|
ports:
|
|
- "13200:13200"
|
|
networks:
|
|
- shared
|
|
|
|
proxy:
|
|
environment:
|
|
- BACKEND_PORT=${BACKEND_PORT}
|
|
image: nginx
|
|
volumes:
|
|
- ./nginx/templates/:/etc/nginx/templates/
|
|
ports:
|
|
- "8080:80"
|
|
- "13201:8080"
|
|
restart: always
|
|
networks:
|
|
- shared
|
|
depends_on:
|
|
- backend
|
|
|
|
networks:
|
|
shared:
|
|
driver: bridge |