diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml new file mode 100644 index 0000000..a9b9220 --- /dev/null +++ b/docker-compose.prod.yml @@ -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