export script

This commit is contained in:
2026-04-13 21:10:37 -03:00
parent 9ecc341da8
commit 236ab941a5
16 changed files with 2410 additions and 158 deletions

View File

@@ -1,10 +1,43 @@
services:
fastapi-app:
build:
context: .
dockerfile: Dockerfile
# api:
# container_name: sg-api
# build:
# context: .
# dockerfile: Dockerfile
# ports:
# - "8000:8000"
# volumes:
# - .:/app # Mount the local directory to the container for development
# command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload
# networks:
# - sg-net
postgres:
image: postgres
container_name: sg-postgres
restart: unless-stopped
environment:
POSTGRES_PASSWORD: guardia123
POSTGRES_DB: export-tray
volumes:
- ./postgres:/var/lib/postgresql/data
networks:
- sg-net
ports:
- "5432:5432"
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: christoph.califice@hotmail.com
PGADMIN_DEFAULT_PASSWORD: asdf1234
PGADMIN_LISTEN_PORT: 80
user: "1002:1003"
ports:
- "8000:8000"
- "15432:80"
volumes:
- .:/app # Mount the local directory to the container for development
command: uvicorn main:app --host 0.0.0.0 --port 8000 --reload
- pgadmin:/var/lib/pgadmin
networks:
sg-net: