Add environment variables to docker config so we can have a dev server

This commit is contained in:
2025-09-08 12:19:55 -05:00
parent 87b3f61717
commit c227d42e5e
2 changed files with 16 additions and 7 deletions

View File

@@ -1,17 +1,18 @@
networks:
nginx-bridge:
${NETWORK}:
external: true
services:
techtracker-next:
build:
context: ../../..
dockerfile: host/next/docker/Dockerfile
image: techtracker-next:alpine
container_name: techtracker-next
hostname: techtracker-next
domainname: techtracker.gbrown.org
networks: [nginx-bridge]
ports: ['3000:3000']
image: ${CONTAINER_NAME}:alpine
container_name: ${CONTAINER_NAME}
env_file: [.env]
hostname: ${CONTAINER_NAME}
domainname: ${DOMAIN_NAME}
networks: ['${NETWORK}']
#ports: ['${PORT}:3000']
tty: true
stdin_open: true
restart: unless-stopped