-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (37 loc) · 992 Bytes
/
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
version: '3.2'
services:
#---Postgres for fraxpyr--------------------------------------------
postgis:
image: jancelin/geopoppy:postgres10-2.4-arm32_1
restart: always
ports:
- 5432:5432
expose:
- 5432
entrypoint: >
bash -c "cp /home/setup-database.sh / &&
/docker-entrypoint.sh"
environment:
- ALLOW_IP_RANGE=0.0.0.0/0
- POSTGRES_USER=dynuser
- POSTGRES_PASS=dynuser
- POSTGRES_DBNAME=geo_dmh
- POSTGRES_DUMP=dmh_fraxpyr.tar
volumes:
- /home/pirate/fraxpyr/postgresql:/var/lib/postgresql
- /home/pirate:/home
apache:
build:
context: .
dockerfile: Dockerfile.rpi_fraxpyr
restart: always
ports:
- 80:80
#---Outils--------------------------------------------
portainer:
image: portainer/portainer:linux-arm
restart: always
ports:
- "9000:9000"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"