-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathdocker-compose-pgsql.yml
More file actions
31 lines (30 loc) · 941 Bytes
/
docker-compose-pgsql.yml
File metadata and controls
31 lines (30 loc) · 941 Bytes
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
services:
postgres:
image: postgres:12-alpine
container_name: postgres
restart: always
volumes:
~/dockermount/opencms-docker-postgres:/var/lib/postgresql/data
environment:
- TZ=Europe/Berlin
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=secretDBpassword
opencms:
image: alkacon/opencms-docker:15.0
container_name: opencms
build: ./image
restart: always
depends_on:
- opencms_db
ports:
- 80:8080
volumes:
- ~/dockermount/opencms-docker-webapps:/usr/local/tomcat/webapps
command: /root/wait-for.sh -t 30 -- /root/opencms-run.sh
environment:
- TZ=Europe/Berlin
- DB_PRODUCT=postgresql
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=postgres
- DB_PASSWD=secretDBpassword