Add deployment scaffolding (Dockerfile, docker-compose, nginx)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-07 14:14:31 +01:00
parent 169b63160d
commit 687ed9168e
1 changed files with 22 additions and 0 deletions

22
docker-compose.prod.yml Normal file
View File

@ -0,0 +1,22 @@
version: '3.8'
services:
backend:
volumes:
- /opt/mycopunk-swag/designs:/app/designs
- /opt/mycopunk-swag/config:/app/config:ro
environment:
- DESIGNS_PATH=/app/designs
- CONFIG_PATH=/app/config
frontend:
build:
args:
- NEXT_PUBLIC_API_URL=https://swag.mycofi.earth/api
networks:
swag-internal:
driver: bridge
ipam:
config:
- subnet: 10.200.0.0/24