Skip to content

Instantly share code, notes, and snippets.

@sullemanhossam
Created June 22, 2024 09:13
Show Gist options
  • Save sullemanhossam/5b5d1ac38f1ebd6efd0a9946ac45ccca to your computer and use it in GitHub Desktop.
Save sullemanhossam/5b5d1ac38f1ebd6efd0a9946ac45ccca to your computer and use it in GitHub Desktop.
name: pharmav-app
x-eventstore: &eventstore
build:
context: .
dockerfile: projects/eventstore/Dockerfile
image: eventstore
command: "go run ."
volumes:
- ../../../out/server/code/go-workspace:/home
working_dir: /apps/eventstore
networks:
- pharmav-network
networks:
pharmav-network:
external: true
services:
eventstore-lite:
<<: *eventstore
depends_on:
- pharmav-app-mongo-3.6-1
environment:
MONGO_URL: mongodb://mongo-3.6:27017
MONGO_DB: eventstore
networks:
- pharmav-network
volumes:
mongo-3.6:
external: true
nginx-proxy:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment