Fix env variables overlapping & convex dashboard

This commit is contained in:
2025-09-12 19:25:19 -05:00
parent 8dc5447953
commit 1ab34f6764
2 changed files with 9 additions and 8 deletions

View File

@@ -7,17 +7,18 @@ services:
build: build:
context: ../ context: ../
dockerfile: ./docker/Dockerfile dockerfile: ./docker/Dockerfile
image: ${CONTAINER_NAME}:alpine image: ${NEXT_CONTAINER_NAME}:alpine
container_name: ${CONTAINER_NAME} container_name: ${NEXT_CONTAINER_NAME}
env_file: [.env] env_file: [.env]
hostname: ${CONTAINER_NAME} hostname: ${NEXT_CONTAINER_NAME}
domainname: ${DOMAIN_NAME} domainname: ${NEXT_DOMAIN_NAME}
networks: ['${NETWORK:-nginx-bridge}'] networks: ['${NETWORK:-nginx-bridge}']
#ports: ['${PORT}:3000'] #ports: ['${NEXT_PORT}:3000']
depends_on: ['convex-backend'] depends_on: ['convex-backend']
tty: true tty: true
stdin_open: true stdin_open: true
restart: unless-stopped restart: unless-stopped
convex-backend: convex-backend:
image: ghcr.io/get-convex/convex-backend:${BACKEND_TAG:-00bd92723422f3bff968230c94ccdeb8c1719832} image: ghcr.io/get-convex/convex-backend:${BACKEND_TAG:-00bd92723422f3bff968230c94ccdeb8c1719832}
container_name: ${BACKEND_CONTAINER_NAME:-convex-backend} container_name: ${BACKEND_CONTAINER_NAME:-convex-backend}

View File

@@ -1,12 +1,12 @@
# Next Envrionment Variables # Next Envrionment Variables
NETWORK=nginx-bridge NETWORK=nginx-bridge
CONTAINER_NAME=techtracker-next NEXT_CONTAINER_NAME=techtracker-next
DOMAIN_NAME=techtracker.gbrown.org NEXT_DOMAIN_NAME=techtracker.gbrown.org
# Port is disabled by default as suggested # Port is disabled by default as suggested
# config is to have reverse proxy on the same # config is to have reverse proxy on the same
# network so you can just forward to the # network so you can just forward to the
# port on the internal network. # port on the internal network.
PORT=3000 NEXT_PORT=3000
# Convex Environment Variables # Convex Environment Variables
BACKEND_TAG=00bd92723422f3bff968230c94ccdeb8c1719832 BACKEND_TAG=00bd92723422f3bff968230c94ccdeb8c1719832