26 lines
722 B
YAML
26 lines
722 B
YAML
version: "3.8"
|
|
services:
|
|
frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
|
|
ports:
|
|
- "3100:3100"
|
|
depends_on:
|
|
- backend
|
|
backend:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "5000:5000"
|
|
volumes:
|
|
# TODO: This will need to be configured, need to rebuild part of the program for that though
|
|
- /home/azpect/Documents:/home/azpect/Documents
|
|
environment:
|
|
FILE_GOPHERNEST_USER: ${FILE_GOPHERNEST_USER}
|
|
FILE_GOPHERNEST_PASSWORD: ${FILE_GOPHERNEST_PASSWORD}
|
|
FILE_GOPHERNEST_JWT_SECRET: ${FILE_GOPHERNEST_JWT_SECRET}
|
|
DOCKERHUB_USERNAME: ${DOCKERHUB_USERNAME}
|
|
DOCKERHUB_TOKEN: ${DOCKERHUB_TOKEN} |