Update docker_compose.sh
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 1m50s

This commit is contained in:
Ryan Freeman 2025-06-10 14:44:22 +01:00 committed by GitHub
parent ea654c017e
commit 5e07e1abed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,21 @@
#!/bin/bash
cat > docker-compose.prod.yaml <<EOF
networks:
portfolio_net:
driver: bridge
name: portfolio_net
services:
portfolio_frontend:
container_name: portfolio_frontend
image: portfolio/frontend
build:
context: .
dockerfile: ./Dockerfile
ports:
- "${SERVER_IP}:3000:3000"
- "${SERVER_PORT}:3000:3000"
restart: unless-stopped
networks:
- portfolio_net
EOF