docker compose
This commit is contained in:
28
docker-compose.yaml
Normal file
28
docker-compose.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
Reference in New Issue
Block a user