Initial Entry
This commit is contained in:
parent
b7ae5c915f
commit
a40dc7dfff
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
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"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
LocalNet:
|
||||||
|
external: true
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user