pass
This commit is contained in:
parent
2009aaf604
commit
2c4c68975a
|
|
@ -8,7 +8,11 @@ __pycache__
|
|||
.DS_Store
|
||||
|
||||
.env
|
||||
docker-compose.override.yml
|
||||
docker-compose.medicine.override.yml
|
||||
docker-compose.medicine-stack.override.yml
|
||||
docker-compose.tfoms-patient.override.yml
|
||||
docker-compose.thirdparty-apps.override.yml
|
||||
|
||||
.idea/*
|
||||
.vs/*
|
||||
volumes/*
|
||||
|
|
|
|||
|
|
@ -0,0 +1,39 @@
|
|||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
|
||||
redis:
|
||||
container_name: medicine-stack-redis
|
||||
image: redis:5.0.6
|
||||
restart: "always"
|
||||
command: redis-server --maxmemory-policy allkeys-lru --maxclients 10000
|
||||
networks:
|
||||
- medicine-network
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "200k"
|
||||
max-file: "10"
|
||||
|
||||
postgres:
|
||||
container_name: medicine-stack-postgres
|
||||
image: postgres:12.2
|
||||
restart: "always"
|
||||
networks:
|
||||
- medicine-network
|
||||
environment:
|
||||
POSTGRES_USER: "${POSTGRES_USER}"
|
||||
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
|
||||
volumes:
|
||||
- ./volumes/postgres-data:/var/lib/postgresql/data
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "200k"
|
||||
max-file: "10"
|
||||
|
||||
networks:
|
||||
medicine-network:
|
||||
external:
|
||||
name: "medicine-network"
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
|
||||
app:
|
||||
container_name: tfoms-patient
|
||||
restart: "always"
|
||||
image: docker.med-logic.ru/tfoms-patient:latest
|
||||
environment:
|
||||
- SENTRY_SITE=${SENTRY_SITE}
|
||||
- SQLALCHEMY_DATABASE_URI=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres-host/tfoms_patient
|
||||
ports:
|
||||
- "880:80"
|
||||
external_links:
|
||||
- "postgres:postgres-host"
|
||||
networks:
|
||||
- medicine-network
|
||||
|
||||
networks:
|
||||
medicine-network:
|
||||
external:
|
||||
name: "medicine-network"
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
|
||||
pgadmin:
|
||||
image: dpage/pgadmin4
|
||||
container_name: "thirdparty-pgadmin"
|
||||
restart: "always"
|
||||
external_links:
|
||||
- "postgres:postgres-host"
|
||||
environment:
|
||||
PGADMIN_DEFAULT_EMAIL: "admin"
|
||||
PGADMIN_DEFAULT_PASSWORD: "pgadmin-pass"
|
||||
ports:
|
||||
- "851:80"
|
||||
volumes:
|
||||
- pgadmin-data:/var/lib/pgadmin
|
||||
networks:
|
||||
- medicine-network
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "200k"
|
||||
max-file: "10"
|
||||
|
||||
filebrowser:
|
||||
image: filebrowser/filebrowser
|
||||
container_name: "thirdparty-filebrowser"
|
||||
restart: "always"
|
||||
ports:
|
||||
- "856:80"
|
||||
volumes:
|
||||
- filebrowser-data:/etc
|
||||
networks:
|
||||
- medicine-network
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "200k"
|
||||
max-file: "10"
|
||||
|
||||
flower:
|
||||
restart: "always"
|
||||
container_name: "thirdparty-flower"
|
||||
command: >
|
||||
flower
|
||||
--port=852
|
||||
--broker=redis://redis-host:6379/2
|
||||
--broker_api=redis://redis-host:6379/2
|
||||
--basic_auth=admin:flower-pass
|
||||
--max_workers=2
|
||||
--max_tasks=500
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: ./Dockerfile-flower
|
||||
external_links:
|
||||
- "redis:redis-host"
|
||||
networks:
|
||||
- medicine-network
|
||||
ports:
|
||||
- "852:852"
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "200k"
|
||||
max-file: "10"
|
||||
|
||||
volumes:
|
||||
pgadmin-data:
|
||||
filebrowser-data:
|
||||
|
||||
networks:
|
||||
medicine-network:
|
||||
external:
|
||||
name: "medicine-network"
|
||||
Loading…
Reference in New Issue