Skip to content

Commit

Permalink
docker compose example added
Browse files Browse the repository at this point in the history
  • Loading branch information
mantonovic committed Apr 23, 2020
1 parent 5a86a0c commit af65f24
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ version: '3.7'
services:
istsos-db:
build:
context: ./db/
dockerfile: Dockerfile
image: istsos-pg:1.0.0
# image: postgis/postgis:12-2.5-alpine
# context: ./db/
# dockerfile: Dockerfile
#image: istsos-pg:1.0.0
image: postgis/postgis:12-2.5-alpine
restart: always
ports:
- 5432:5432
Expand All @@ -16,14 +16,12 @@ services:
# POSTGRES_HOST: istsos_istsos-db_1
TZ: Europe/Zurich
volumes:
# - ./docker-entrypoint-initdb.d/init-user-db.sh:/docker-entrypoint-initdb.d/init-user-db.sh
- v-istsos-pgdata:/var/lib/postgresql/data
istsos:
build:
context: ./
dockerfile: Dockerfile
image: istsos:1.0.0
# image: geomatica/istsos:1.0.0
#build:
# context: ./
# dockerfile: Dockerfile
image: istsos/istsos:2.4.0-RC4
restart: always
ports:
- 80:80
Expand Down

0 comments on commit af65f24

Please sign in to comment.