Files
Oxicloud/docker-compose.yml
T

46 lines
818 B
YAML
Raw Normal View History

2025-03-20 09:22:31 +01:00
services:
postgres:
2026-02-14 18:13:05 +01:00
image: postgres:18.2-alpine3.23
2025-03-20 09:22:31 +01:00
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: oxicloud
ports:
- "5432:5432"
2025-03-30 00:13:32 -07:00
networks:
- oxicloud
2025-03-20 09:22:31 +01:00
volumes:
- pg_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
2025-03-30 00:13:32 -07:00
oxicloud:
image: oxicloud
restart: always
build:
context: .
dockerfile: Dockerfile
ports:
- "8086:8086"
networks:
- oxicloud
depends_on:
postgres:
condition: service_healthy
env_file:
- .env
2025-03-31 06:20:15 +02:00
volumes:
- storage_data:/app/storage
2025-03-30 00:13:32 -07:00
networks:
oxicloud:
driver: bridge
2025-03-20 09:22:31 +01:00
volumes:
2025-03-23 22:44:18 +01:00
pg_data:
2025-03-31 06:20:15 +02:00
storage_data: