-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
62 lines (60 loc) · 1.41 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
services:
decidim-geo:
container_name: decidim-geo
entrypoint: ""
build: .
environment:
- RAILS_ENV=development
- NODE_ENV=development
- RAILS_SERVE_STATIC_FILES=true
- DATABASE_URL=postgis://decidim:insecure-password@pg:5432/decidim
- SECRET_KEY_BASE=pleaseChangeMe
- DECIDIM_SYSTEM_PASSWORD=decidim123456
- WEB_CONCURRENCY=0
- RAILS_MAX_THREADS=2
- RAILS_MIN_THREADS=1
- RAILS_FORCE_SSL=false
depends_on:
pg:
condition: service_healthy
links:
- pg
ports:
- 3000:3000
- 3035:3035
volumes:
- .:/home/decidim/decidim_module_geo
- node_modules:/home/decidim/app/node_modules
- bundle:/home/decidim/app/vendor
- public:/home/decidim/app/public
- tmp:/home/decidim/app/tmp
networks:
- private
- default
pg:
image: postgis/postgis:14-3.4-alpine
restart: always
volumes:
- pg_data:/var/lib/postgresql/data
- .dump/:/tmp/dump
environment:
- POSTGRES_PASSWORD=insecure-password
- POSTGRES_USER=decidim
- POSTGRES_DB=decidim
networks:
- private
ports:
- 5432:5432
healthcheck:
test: pg_isready -U decidim -h 127.0.0.1
interval: 5s
volumes:
bundle: {}
pg_data: {}
public: {}
node_modules: {}
tmp: {}
networks:
private:
internal: true