-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.deploy.yml
49 lines (42 loc) · 1.22 KB
/
docker-compose.deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '2.3'
services:
frontend:
image: ghcr.io/kitspace/frontend${FRONTEND_DEPLOY_IMAGE_TAG}
environment:
- NODE_ENV=production
- 'KITSPACE_PROCESSOR_ASSET_URL=https://processor-cdn.${KITSPACE_DOMAIN}/${KITSPACE_PROCESSOR_ASSET_VERSION}'
- 'KITSPACE_FRONTEND_ASSET_URL=https://frontend-cdn.${KITSPACE_DOMAIN}'
restart: always
gitea:
command: /usr/bin/entrypoint
restart: always
ports:
- '3333:3000'
postgres:
restart: always
nginx:
image: ghcr.io/kitspace/nginx${NGINX_DEPLOY_IMAGE_TAG}
ports:
- 443:443
environment:
- RUN_CERTBOT=${CERTBOT_ENABLED}
- CERTBOT_DOMAINS=${KITSPACE_DOMAIN},gitea.${KITSPACE_DOMAIN},meilisearch.${KITSPACE_DOMAIN}
- CERTBOT_EMAIL=${CERTBOT_EMAIL}
- 'USE_LOCAL_MINIO=false'
volumes:
- nginx-letsencrypt:/etc/letsencrypt
restart: always
processor:
image: ghcr.io/kitspace/processor${PROCESSOR_DEPLOY_IMAGE_TAG}
environment:
- S3_ENDPOINT=${S3_ENDPOINT}
- S3_PROCESSOR_BUCKET_NAME=${S3_PROCESSOR_BUCKET_NAME}
restart: always
redis:
restart: always
meilisearch:
environment:
- MEILI_ENV=production
restart: always
volumes:
nginx-letsencrypt: null