forked from UniqueNetwork/unique-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 737 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 737 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
33
34
version: "3.7"
networks:
unique.network:
driver: bridge
name: ${DOCKER_NETWORK:-unique.network}
attachable: true
services:
unique.wallet:
container_name: ${DOCKER_NAME:-unique.wallet.latest}
image: ${DOCKER_IMAGE:-unique.wallet:latest}
build:
context: .
dockerfile: Dockerfile
args:
- NODE_ENV
init: true
tty: true
stdin_open: true
ports:
- 127.0.0.1:${DOCKER_PORT:-3001}:80
networks:
- ${DOCKER_NETWORK:-unique.network}
logging:
options:
max-size: 10M
max-file: "5"
deploy:
resources:
limits:
cpus: ${DOCKER_CPUS_LIMIT:-1}
memory: ${DOCKER_MEMORY_LIMIT:-1024M}
restart: always