Skip to content

Instantly share code, notes, and snippets.

@sullemanhossam
Created June 22, 2024 08:16
Show Gist options
  • Save sullemanhossam/756e6b29e84fc95196df2baf5690e955 to your computer and use it in GitHub Desktop.
Save sullemanhossam/756e6b29e84fc95196df2baf5690e955 to your computer and use it in GitHub Desktop.
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:
eventstore-network:
external: true
services:
eventstore-lite:
<<: *eventstore
depends_on:
- mongo-3.6
environment:
MONGO_URL: mongodb://mongo-3.6:27017
MONGO_DB: eventstore
networks:
- eventstore-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