mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 11:20:05 +02:00
Docker compose ready
This commit is contained in:
1 parent
eef4e9255b
commit
0337962303
5 files changed
+88
No files matched your search
@@ -0,0 +1,28 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
web:
|
||||
image: "mike/wot-blitz-statistics-pro:latest"
|
||||
ports:
|
||||
- "8000:80"
|
||||
container_name: "wot-blitz-statististics-web"
|
||||
environment:
|
||||
- WargamingApi:ApplicationId=${WARGAMING_APPLICATION_ID}
|
||||
- Mongo:ConnectionString=${MONGO_CONNECTION_STRING}
|
||||
- Mongo:DatabaseName=${MONGO_DATABASE_NAME}
|
||||
depends_on:
|
||||
- mongo
|
||||
restart: always
|
||||
mongo:
|
||||
image: mongo
|
||||
ports:
|
||||
- "27027:27017"
|
||||
container_name: "wot-blitz-statistics-mongo"
|
||||
restart: always
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: "${DB_USERNAME}"
|
||||
MONGO_INITDB_ROOT_PASSWORD: "${DB_PASSWORD}"
|
||||
volumes:
|
||||
- "blitz_mongodblvolume:/data/db"
|
||||
|
||||
volumes:
|
||||
blitz_mongodblvolume:
|
||||
Reference in new issue
Block a user