Skip to content

Commit

Permalink
chore-be: prod-docker 추가 (#435)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kwoun Ki Ho <[email protected]>
  • Loading branch information
github-actions[bot] and Chocochip101 committed Aug 13, 2024
1 parent 55075ac commit 7abef3e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions backend/docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: '3.8'

services:
application:
container_name: app_container
platform: linux/arm64
depends_on:
- database-mysql
restart: always
image: ${DOCKER_REPO_NAME}/cruru:prod-latest
ports:
- ${SERVER_BINDING_PORT}
- ${MONITORING_BINDING_PORT}
environment:
DB_URL: ${DB_URL}
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
DDL_AUTO: ${DDL_AUTO}
SERVER_PORT: ${SERVER_PORT}
DOCKER_REPO_NAME: ${DOCKER_REPO_NAME}
MONITORING_PORT: ${MONITORING_PORT}
MONITORING_BASE_PATH: ${MONITORING_BASE_PATH}
APPLY_POST_BASE_URL: ${APPLY_POST_BASE_URL}
networks:
cruru_network:
ipv4_address: ${APP_IP_ADDRESS}

networks:
cruru_network:
driver: bridge
ipam:
config:
- subnet: ${SUBNET}

0 comments on commit 7abef3e

Please sign in to comment.