Merged docker-compose.yl file
This commit is contained in:
parent
9b67604ce4
commit
d9c53e93f0
@ -1,15 +0,0 @@
|
|||||||
nextjs-dev:
|
|
||||||
build: ./dev-env
|
|
||||||
container_name: nextjs-dev
|
|
||||||
networks:
|
|
||||||
LocalNet:
|
|
||||||
ipv4_address: '172.17.17.73'
|
|
||||||
ports:
|
|
||||||
- "2222:22" # SSH access for VS Code Server or remote shell
|
|
||||||
- "3001:3000" # Next.js dev preview
|
|
||||||
volumes:
|
|
||||||
- /storage/ospfcost:/workspace
|
|
||||||
environment:
|
|
||||||
- NODE_ENV=development
|
|
||||||
restart: unless-stopped
|
|
||||||
|
|
||||||
@ -23,6 +23,21 @@ services:
|
|||||||
- "traefik.http.routers.next.tls.certresolver=vm"
|
- "traefik.http.routers.next.tls.certresolver=vm"
|
||||||
- "traefik.http.services.next.loadbalancer.server.port=3000"
|
- "traefik.http.services.next.loadbalancer.server.port=3000"
|
||||||
|
|
||||||
|
nextjs-dev:
|
||||||
|
build: ./dev-env
|
||||||
|
container_name: nextjs-dev
|
||||||
|
networks:
|
||||||
|
LocalNet:
|
||||||
|
ipv4_address: '172.17.17.73'
|
||||||
|
ports:
|
||||||
|
- "2222:22" # SSH access for VS Code Server or remote shell
|
||||||
|
- "3001:3000" # Next.js dev preview
|
||||||
|
volumes:
|
||||||
|
- /storage/ospfcost:/workspace
|
||||||
|
environment:
|
||||||
|
- NODE_ENV=development
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
LocalNet:
|
LocalNet:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user