Initial import
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
name: thlab-postgres
|
||||
|
||||
########## ===== NETWORKS ===== ##########
|
||||
|
||||
networks:
|
||||
|
||||
thlab_backend:
|
||||
name: thlab_backend
|
||||
|
||||
#####
|
||||
|
||||
########## ===== VOLUMES ===== ##########
|
||||
|
||||
volumes:
|
||||
|
||||
postgres_data:
|
||||
name: thlab_postgres
|
||||
driver: local
|
||||
|
||||
#####
|
||||
|
||||
########## ===== SERVICES ===== ##########
|
||||
|
||||
services:
|
||||
|
||||
thlab-postgres:
|
||||
image: postgres:17-alpine
|
||||
container_name: thlab-postgres
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
env_file: [.secrets/.env]
|
||||
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
|
||||
networks:
|
||||
thlab_backend:
|
||||
aliases:
|
||||
- postgres
|
||||
|
||||
#####
|
||||
Reference in New Issue
Block a user