Files
techtracker/host/next/docker/compose.yml

19 lines
526 B
YAML

networks:
nginx-bridge: # You need to change this line to your defined network is as well
external: true
services:
techtracker-next:
build:
context: ../../../apps/next/
dockerfile: host/next/docker/Dockerfile
image: ${CONTAINER_NAME}:alpine
container_name: ${CONTAINER_NAME}
env_file: [.env]
hostname: ${CONTAINER_NAME}
domainname: ${DOMAIN_NAME}
networks: ['${NETWORK:-nginx-bridge}']
#ports: ['${PORT}:3000']
tty: true
stdin_open: true
restart: unless-stopped