forked from mautic/Community-Portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
44 lines (40 loc) · 976 Bytes
/
docker-compose.dev.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.3'
services:
decidim:
container_name: decidim
image: mautic/decidim
build:
context: .
dockerfile: Dockerfile.dev
ports:
- 3000:3000
volumes:
- bundle-dev:/home/decidim/app/vendor
- .:/home/decidim/app
environment:
DECIDIM_SYSTEM_EMAIL: "[email protected]"
DECIDIM_SYSTEM_PASSWORD: "my_insecure_password"
DATABASE_URL: "postgres://decidim:my_insecure_password@pg_dev:5432/decidim"
REDIS_URL: "redis://default:my_insecure_password@redis:6379/1"
PM2_RUN: decidim
QUEUE_ADAPTER: async
links:
- pg_dev
networks:
- private
- default
pg_dev:
image: postgres:15-alpine
volumes:
- pg-data-dev:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: "my_insecure_password"
POSTGRES_USER: "decidim"
POSTGRES_DB: "decidim"
networks:
- private
volumes:
pg-data-dev: {}
bundle-dev: {}
networks:
private: