Commented out production
This commit is contained in:
parent
d9c53e93f0
commit
c95af85c03
@ -1,27 +1,27 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nextjs-app:
|
# nextjs-app:
|
||||||
build:
|
# build:
|
||||||
context: .
|
# context: .
|
||||||
container_name: nextjs-app
|
# container_name: nextjs-app
|
||||||
networks:
|
# networks:
|
||||||
LocalNet:
|
# LocalNet:
|
||||||
ipv4_address: '172.17.17.72'
|
# ipv4_address: '172.17.17.72'
|
||||||
ports:
|
# ports:
|
||||||
- "3000:3000"
|
# - "3000:3000"
|
||||||
volumes:
|
# volumes:
|
||||||
- .:/app
|
# - .:/app
|
||||||
- /app/node_modules
|
# - /app/node_modules
|
||||||
environment:
|
# environment:
|
||||||
- NODE_ENV=production
|
# - NODE_ENV=production
|
||||||
restart: always
|
# restart: always
|
||||||
labels:
|
# labels:
|
||||||
- "traefik.enable=true"
|
# - "traefik.enable=true"
|
||||||
- "traefik.http.routers.next.rule=Host(`next.ams.nerdnieuws.net`)"
|
# - "traefik.http.routers.next.rule=Host(`next.ams.nerdnieuws.net`)"
|
||||||
- "traefik.http.routers.next.entrypoints=https"
|
# - "traefik.http.routers.next.entrypoints=https"
|
||||||
- "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:
|
nextjs-dev:
|
||||||
build: ./dev-env
|
build: ./dev-env
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user