-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcompose.deploy.yaml
More file actions
54 lines (48 loc) · 1.26 KB
/
compose.deploy.yaml
File metadata and controls
54 lines (48 loc) · 1.26 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: meesign-deploy
services:
db:
env_file: ./.env
volumes:
- db-data:/var/lib/postgresql/data
networks:
- meesign-network
ports:
# Exposing the database port allows using locally build meesign-server
# utility
- 5432:5432
adminer:
image: adminer
restart: unless-stopped
depends_on:
db:
condition: service_healthy
networks:
- meesign-network
meesign-server:
image: crocsmuni/meesign:latest
# NOTE Uncomment the following lines and comment the `image: ...` to build the
# meesign-server Docker image from local source
# build:
# context: .
# dockerfile: Dockerfile
networks:
meesign-network:
aliases:
- meesign.local
ports:
- 1337:1337
restart: unless-stopped
env_file: ./.env
environment:
# NOTE: The Postgres database hostname `db` is the name of the Postgres
# service above. It's visible to the meesign-server container due to the
# shared meesign-network.
DATABASE_URL: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}"
volumes:
- ./keys:/meesign/keys:ro
volumes:
db-data:
networks:
meesign-network:
name: meesign-network
driver: bridge