You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.3 KiB
65 lines
1.3 KiB
version: '3' |
|
|
|
services: |
|
caddy: |
|
container_name: spa_caddy |
|
build: .docker/caddy |
|
ports: |
|
- 80:80 |
|
- 443:443 |
|
volumes: |
|
- ./:/var/www/html |
|
- .docker/config/Caddyfile:/etc/caddy/Caddyfile |
|
- .docker/data/logs/caddy:/var/log/caddy:delegated |
|
depends_on: |
|
- php-fpm |
|
networks: |
|
- internal |
|
|
|
php-fpm: |
|
container_name: php_backend |
|
build: |
|
context: .docker/php-fpm |
|
volumes: |
|
- ./:/var/www/html:delegated |
|
- .docker/data/logs/php:/var/log/php:delegated |
|
env_file: |
|
- .env |
|
environment: |
|
- REPO_URL= |
|
- GEOSERVER_URL=geoserver_service |
|
- GEOSERVER_USERNAME=admin |
|
- GEOSERVER_PASSWORD=myawesomepw123 |
|
- GEONETWORK_URL= |
|
- GEONETWORK_API_KEY= |
|
- GEONETWORK_API_VERSION= |
|
- PG_USER= |
|
- PG_PASS= |
|
- PG_NAME= |
|
- PG_HOST= |
|
restart: unless-stopped |
|
expose: |
|
- 9000 |
|
networks: |
|
- internal |
|
|
|
geoserver: |
|
container_name: geoserver_service |
|
image: kartoza/geoserver |
|
environment: |
|
- GEOSERVER_ADMIN_USER=admin |
|
- GEOSERVER_ADMIN_PASSWORD=myawesomepw123 |
|
volumes: |
|
- geoserver_data:/opt/geoserver/data_dir |
|
expose: |
|
- 8080 |
|
ports: |
|
- "8080:8080" |
|
networks: |
|
- internal |
|
|
|
volumes: |
|
geoserver_data: |
|
networks: |
|
internal: |
|
|
|
|