-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
48 lines (43 loc) · 1012 Bytes
/
docker-compose.yml
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
version: "3.8"
services:
denaro-node:
build:
context: ./
dockerfile: ./Dockerfile
image: denaro/denaro:0.2.0
container_name: denaro-node
environment:
DENARO_DATABASE_USER: "user"
DENARO_DATABASE_PASSWORD: "password"
DENARO_DATABASE_NAME: "denaro"
DENARO_DATABASE_HOST: "denaro-postgres"
tty: true
ports:
- 3006:3006
networks:
- denaro
denaro-postgres:
image: postgres:14.1-alpine3.15
container_name: denaro-postgres
environment:
POSTGRES_USER: "user"
POSTGRES_PASSWORD: "password"
POSTGRES_DB: "denaro"
POSTGRES_HOST: "denaro-postgres"
ports:
- "5432:5432"
volumes:
- ./postgres:/var/lib/postgresql
- ./schema.sql:/docker-entrypoint-initdb.d/create_tables.sql
networks:
- denaro
denaro-adminer:
image: adminer:4.8.1
container_name: denaro-adminer
ports:
- "8080:8080"
networks:
- denaro
networks:
denaro:
driver: bridge