Skip to content

Commit

Permalink
Merge pull request #5203 from Gustry/docker-mount
Browse files Browse the repository at this point in the history
Docker updates about mount
  • Loading branch information
Gustry authored Jan 16, 2025
2 parents a4d162e + e6886b7 commit 7f92206
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ deploy-package-unstable:
- fabric

deploy-docker-unstable:
image: ${REGISTRY_URL}/factory-ci-runner:build-package
image: ${REGISTRY_URL}/factory-ci-runner:factory-ci
stage: deploy
script:
- update-service lizmap
Expand Down
26 changes: 13 additions & 13 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ services:
POSTGRES_USER: lizmap
volumes:
- pg_data:/var/lib/postgresql/data
- "../:/srv/lzm/"
- { type: bind, source: "..", target: /srv/lzm/ }
ports:
- ${LZMPGPORT}:5432
networks:
default:
aliases:
- db.lizmap.local
redis:
image: redis:7.4
image: redis:7-alpine
container_name: "lizmap${LZMBRANCH}_test_redis"
openldap:
build: ./docker-conf/openldap
Expand All @@ -27,7 +27,7 @@ services:
SLAPD_ORGANISATION: "Lizmap"
SLAPD_DOMAIN: "tests.lizmap"
volumes:
- "./docker-conf/openldap/ldif:/customldif"
- { type: bind, source: ./docker-conf/openldap/ldif, target: /customldif }
lizmap:
build:
context: ./docker-conf/phpfpm
Expand All @@ -44,9 +44,9 @@ services:
- LIZMAP_ADMIN_DEFAULT_PASSWORD_SOURCE
- ECHO_OGC_ORIGINAL_REQUEST=on
volumes:
- "../:/srv/lzm/"
- ./docker-conf/pg_service.conf:/srv/etc/pg_service.conf
- ./docker-conf/phpfpm/admin.conf:/srv/etc/admin.conf
- { type: bind, source: "..", target: /srv/lzm/ }
- { type: bind, source: ./docker-conf/pg_service.conf, target: /srv/etc/pg_service.conf }
- { type: bind, source: ./docker-conf/phpfpm/admin.conf, target: /srv/etc/admin.conf }
depends_on:
- pgsql
- redis
Expand All @@ -55,8 +55,8 @@ services:
image: nginx:alpine
container_name: "lizmap${LZMBRANCH}_test_nginx"
volumes:
- "./docker-conf/nginx-default.conf:/etc/nginx/conf.d/default.conf"
- "../:/srv/lzm/"
- { type: bind, source: ./docker-conf/nginx-default.conf, target: /etc/nginx/conf.d/default.conf }
- { type: bind, source: "..", target: /srv/lzm/ }
command: /bin/sh -c "nginx -g 'daemon off;'"
networks:
default:
Expand Down Expand Up @@ -84,17 +84,17 @@ services:
QGSRV_USER: ${LIZMAP_USER_ID}:${LIZMAP_GROUP_ID}
ROUTER_HOST: map
volumes:
- ./qgis-projects:/srv/projects
- ./qgis-server-plugins:/srv/qgis-server-plugins
- ./wps-data:/srv/data
- ./docker-conf/pg_service.conf:/srv/etc/pg_service.conf
- { type: bind, source: ./qgis-projects, target: /srv/projects }
- { type: bind, source: ./qgis-server-plugins, target: /srv/qgis-server-plugins }
- { type: bind, source: ./wps-data, target: /srv/data }
- { type: bind, source: ./docker-conf/pg_service.conf, target: /srv/etc/pg_service.conf }
ports:
- ${LZMQGSRVPORT}:8080
webdav:
container_name: lizmap${LZMBRANCH}_test_webdav
image: ugeek/webdav:amd64
volumes:
- ./qgis-projects/webdav/test:/media
- { type: bind, source: ./qgis-projects/webdav/test, target: /media }
environment:
- USERNAME=webdav
- PASSWORD=webdav
Expand Down

0 comments on commit 7f92206

Please sign in to comment.