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