feat: add monochrome-network to docker-compose
This commit is contained in:
parent
118210f4e4
commit
3355a28789
1 changed files with 9 additions and 1 deletions
|
|
@ -5,8 +5,10 @@ services:
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
container_name: monochrome
|
container_name: monochrome
|
||||||
ports:
|
ports:
|
||||||
- '3000:4173'
|
- '4173:4173'
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- monochrome-network
|
||||||
|
|
||||||
cors-proxy:
|
cors-proxy:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
|
|
@ -16,3 +18,9 @@ services:
|
||||||
- '8081:80'
|
- '8081:80'
|
||||||
volumes:
|
volumes:
|
||||||
- ./cors-proxy.conf:/etc/nginx/nginx.conf:ro
|
- ./cors-proxy.conf:/etc/nginx/nginx.conf:ro
|
||||||
|
networks:
|
||||||
|
- monochrome-network
|
||||||
|
|
||||||
|
networks:
|
||||||
|
monochrome-network:
|
||||||
|
driver: bridge
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue