Skip to content

Commit

Permalink
moved back to miner
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Jackson committed Aug 10, 2024
1 parent e774aab commit a23e813
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
services:
mongodb:
image: mongo:4.2.23-bionic
container_name: mongodb
ports: ["27017:27017"]
api:
image: cosmtrek/air
container_name: api
working_dir: /app
ports: ["9000:9000"]
command:
- air -c ./.air.toml --
volumes:
- ./:/app
environment:
- GIN_MODE=${GIN_MODE}
- CHARACTER_NAME=${CHARACTER_NAME}
- TOKEN=${TOKEN}
sync:
container_name: sync
build:
dockerfile: build/sync/Dockerfile
context: .
environment:
- CHARACTER_NAME=${CHARACTER_NAME}
- TOKEN=${TOKEN}
worker:
container_name: worker
build:
dockerfile: build/worker/Dockerfile
context: .
environment:
- CHARACTER_NAME=${CHARACTER_NAME}
- TOKEN=${TOKEN}
- GIN_MODE=${GIN_MODE}

0 comments on commit a23e813

Please sign in to comment.