-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (41 loc) · 1002 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
version: '3.5'
services:
app:
build:
context: ./
dockerfile: config/dev.Dockerfile
image: fuksilaiterekisteri_dev
environment:
- STUDENT_API_URL=http://sis-importer-db-api:3000
- SIS=true
- DATABASE_URL=postgres://postgres:postgres@db:5432/postgres
- EMAIL_ENABLED=false
- SUPERADMINS=
- E2E=$E2E
- NO_API_MOCK=true
volumes:
- ./:/usr/src/app
ports:
- 8000:8000
container_name: fuksilaiterekisteri_dev
db:
image: postgres:11
container_name: fuksilaiterekisteri_db
environment:
- PGDATA=/data
- POSTGRES_PASSWORD=postgres
volumes:
- pg_data:/data
adminer_fular:
container_name: adminer_fukrek
environment:
- ADMINER_DESIGN=pepa-linha
- ADMINER_DEFAULT_SERVER=db
image: adminer:4.7.5
ports:
- 8080:8080 # localhost:8080/?pgsql=db&username=postgres&db=postgres&ns=public
volumes:
pg_data:
networks:
default:
name: importer_network