forked from zsrtp/Randomizer-Web-Generator
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstack.yml
More file actions
32 lines (28 loc) · 639 Bytes
/
stack.yml
File metadata and controls
32 lines (28 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '3.8'
services:
tpr-generator:
image: tpr-generator:${IMAGE_VERSION}
ports:
- '${HOST_PORT:-3000}:3500'
- '40444:40444'
volumes:
- tpr-generator-data:${TPRGEN_VOLUME_ROOT}
configs:
- env_config
secrets:
- jwt_secret
- seedhash_secret
volumes:
tpr-generator-data:
driver: local
configs:
env_config:
file: ./.env
name: env_config-${ENV_CONFIG_HASH}
secrets:
jwt_secret:
file: ./secrets/jwtSecret.txt
name: jwt_secret-${JWT_SECRET_HASH}
seedhash_secret:
file: ./secrets/seedHashSecret.txt
name: seedhash_secret-${SEEDHASH_SECRET_HASH}