forked from noosfero/noosfero
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprod.yml
39 lines (34 loc) · 856 Bytes
/
prod.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
version: "3"
services:
postgres:
image: postgres:9.4
environment:
POSTGRES_USER: noosfero
POSTGRES_PASSWORD: noosfero
POSTGRES_DB: noosfero_production
volumes:
- pg-prod-data:/var/lib/postgresql/data
noosfero:
build:
context: .
dockerfile: ./config/docker/prod/Dockerfile
ports:
- 80:3000
depends_on:
- postgres
volumes:
- ./tmp/backup:/dump
environment:
POSTGRES_HOST: postgres
POSTGRES_USER: noosfero
POSTGRES_PASSWORD: noosfero
POSTGRES_DB: noosfero_production
NOOSFERO_DUMP_FILE:
# Set your custom credentials if you want to create a default admin account
ADMIN_LOGIN:
ADMIN_EMAIL:
ADMIN_PASSWORD:
# Set your custom environment configs
ENVIRONMENT_NAME: Noosfero
volumes:
pg-prod-data: {}