Created
August 26, 2025 22:16
-
-
Save jcbombardelli/1fab5ca6259ee32a1bded2c9a3d93180 to your computer and use it in GitHub Desktop.
Docker Desenv Default Template
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: | |
container_name: postgres | |
mem_limit: 512m | |
cpus: 1 | |
image: postgres:16 | |
restart: always | |
ports: | |
- "5432:5432" | |
environment: | |
POSTGRES_USER: root | |
POSTGRES_PASSWORD: development | |
POSTGRES_DB: postgres | |
volumes: | |
- ./Tools/Docker/postgres/data:/var/lib/postgresql/data | |
networks: | |
- Desenv | |
volumes: | |
postgres_data: | |
driver: local | |
networks: | |
Desenv: | |
driver: bridge | |
name: Desenv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment