thanks chatgpt :)
This commit is contained in:
14
webapps/beaverhabits/docker-compose.yml
Normal file
14
webapps/beaverhabits/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
beaverhabits:
|
||||
image: daya0576/beaverhabits:latest
|
||||
container_name: beaverhabits
|
||||
environment:
|
||||
- FIRST_DAY_OF_WEEK=0
|
||||
- HABITS_STORAGE=USER_DISK
|
||||
- MAX_USER_COUNT=1
|
||||
volumes:
|
||||
- /path/to/host/directory:/app/.user/
|
||||
ports:
|
||||
- "8080:8080"
|
||||
restart: unless-stopped
|
36
webapps/habitica/docker-compose.yml
Normal file
36
webapps/habitica/docker-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
version: "3"
|
||||
services:
|
||||
|
||||
client:
|
||||
build: .
|
||||
networks:
|
||||
- habitica
|
||||
environment:
|
||||
- BASE_URL=http://tsys1:2008
|
||||
ports:
|
||||
- "2008:8080"
|
||||
command: ["npm", "run", "client:dev"]
|
||||
depends_on:
|
||||
- server
|
||||
|
||||
server:
|
||||
build: .
|
||||
ports:
|
||||
- "3008:3000"
|
||||
networks:
|
||||
- habitica
|
||||
environment:
|
||||
- NODE_DB_URI=mongodb://mongo/habitrpg
|
||||
depends_on:
|
||||
- mongo
|
||||
|
||||
mongo:
|
||||
image: mongo:3.6
|
||||
ports:
|
||||
- "27017:27017"
|
||||
networks:
|
||||
- habitica
|
||||
|
||||
networks:
|
||||
habitica:
|
||||
driver: bridge
|
Reference in New Issue
Block a user