diff --git a/docker-compose-single-celery.yml b/docker-compose-single-celery.yml new file mode 100644 index 0000000..cdf43e2 --- /dev/null +++ b/docker-compose-single-celery.yml @@ -0,0 +1,37 @@ +services: + weblate: + image: weblate/weblate + tmpfs: + - /run + - /tmp + volumes: + - weblate-data:/app/data + - weblate-cache:/app/cache + env_file: + - ./environment + restart: always + read_only: true + depends_on: + - database + - cache + environment: + SINGLE_CELERY_PROCESS: 1 + database: + image: postgres:16-alpine + env_file: + - ./environment + volumes: + - postgres-data:/var/lib/postgresql/data + restart: always + cache: + image: redis:7-alpine + restart: always + read_only: true + command: [redis-server, --save, '60', '1'] + volumes: + - redis-data:/data +volumes: + weblate-cache: {} + weblate-data: {} + postgres-data: {} + redis-data: {}