-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (58 loc) · 1.81 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
63
version: '3.7'
services:
muracms:
container_name: muracms_docked
build:
context: .
dockerfile: ./srv/muracms/Dockerfile
depends_on:
- svc_muradb
environment:
MURA_ADMIN_USERNAME: admin
MURA_ADMIN_PASSWORD: FROM_ENV
MURA_ADMINEMAIL: youremail@domain.com
MURA_APPRELOADKEY: appreload
MURA_DATASOURCE: dsn_muracms
MURA_DATABASE: muradb
MURA_DBTYPE: postgresql
MURA_DBUSERNAME: muradb
MURA_DBPASSWORD: FROM_ENV
MURA_DBHOST: svc_muradb
MURA_DBPORT: 5432
MURA_SITEIDINURLS: "false"
MURA_INDEXFILEINURLS: "false"
MURA_USESSL: "false"
MURA_PROJECT_SECRETS: murasecrets
volumes:
- ./www/modules:/var/www/modules
- ./www/plugins:/var/www/plugins
- ./www/sites:/var/www/sites
- ./www/themes:/var/www/themes
# DEBUG CORE - ./www/core:/var/www/core
- ./srv/muracms/conf:/home/conf
- ./srv/muracms/logs:/opt/muracms/web/logs
ports:
- "80:8888"
secrets:
- murasecrets
svc_muradb:
container_name: muracms_postgresql
image: postgres:alpine
restart: always
environment:
POSTGRES_DB: muradb
POSTGRES_USER: muradb
POSTGRES_PASSWORD_FILE: /run/secrets/postgressecrets
volumes:
- vol_muracms_postgres:/var/lib/postgresql/data
ports:
- "5004:5432"
secrets:
- postgressecrets
volumes:
vol_muracms_postgres:
secrets:
murasecrets:
file: ./secrets/mura_secrets.sample.json
postgressecrets:
file: ./secrets/postgres_secrets.sample.txt