Created
May 31, 2022 00:43
-
-
Save fera2k/354ddcafe0a07d69e3c7728e88ed1dfc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
postgres-and-postgis: | |
image: postgis/postgis | |
environment: | |
POSTGRES_PASSWORD: "postgres" | |
ports: | |
- "5432:5432" | |
volumes: | |
- /home/fera/volumes/postgres:/var/lib/postgresql/data | |
networks: | |
- dc-network | |
redis: | |
image: redis | |
restart: always | |
ports: | |
- "6379:6379" | |
command: redis-server --save 20 1 --loglevel warning | |
volumes: | |
- cache:/data | |
volumes: | |
cache: | |
driver: local | |
networks: | |
dc-network: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment