dev_arc_aws/docker-compose.yml

30 lines
698 B
YAML
Raw Normal View History

services:
archnest:
build: .
image: archnest:latest
container_name: archnest
restart: unless-stopped
ports:
- "8080:8080"
depends_on:
- archnest-backend
archnest-backend:
build: ./backend
image: archnest-backend:latest
container_name: archnest-backend
restart: unless-stopped
environment:
- PORT=4000
- ARCHNEST_DB_PATH=/data/archnest.db
- ARCHNEST_JWT_SECRET=${ARCHNEST_JWT_SECRET}
- ARCHNEST_SECRET_KEY=${ARCHNEST_SECRET_KEY}
- ARCHNEST_CORS_ORIGIN=${ARCHNEST_CORS_ORIGIN:-https://archnest.snsnetlabs.com}
volumes:
- archnest-data:/data
ports:
- "4000:4000"
volumes:
archnest-data: