Update docker_compose.sh

This commit is contained in:
Ryan Freeman 2025-06-10 14:38:59 +01:00 committed by GitHub
parent 2baa2c75b8
commit 9a2f155c4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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