Skip to content

Commit

Permalink
fix: requirements for docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Veivel committed Jun 18, 2024
1 parent bc0fe3b commit 793f1c3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions deploy-stg/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: "3.9"

services:
susunjadwal-backend-rmq-stg:
rmq-stg:
image: rabbitmq:management-alpine
restart: unless-stopped
ports:
- "15671-15672:15671-15672"
networks:
- public-web

susunjadwal-backend-mongo-stg:
mongo-stg:
image: mongo:7
restart: unless-stopped
environment:
Expand All @@ -23,16 +23,19 @@ services:
networks:
- public-web

susunjadwal-backend-server-stg:
server-stg:
pull_policy: always
image: ristekoss/susunjadwal-backend:staging
# build:
# dockerfile: Dockerfile
# context: ..
labels:
caddy: api-stg.susunjadwal.ristek.cs.ui.ac.id
caddy.reverse_proxy: "{{upstreams 8006}}"
restart: unless-stopped
depends_on:
- susunjadwal-backend-rmq-stg
- susunjadwal-backend-mongo-stg
- rmq-stg
- mongo-stg
# volumes:
# - ./.env:/app/.env:ro
env_file:
Expand Down

0 comments on commit 793f1c3

Please sign in to comment.