forked from linuxfoundation/crowd.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-worker.yaml
More file actions
42 lines (38 loc) · 1009 Bytes
/
Copy pathpython-worker.yaml
File metadata and controls
42 lines (38 loc) · 1009 Bytes
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
version: '3.1'
x-env-args: &env-args
DOCKER_BUILDKIT: 1
SERVICE_ENV: docker
SERVICE: python-worker
services:
python-worker:
build:
context: ../../backend/src/serverless/microservices/python
dockerfile: Dockerfile.kube
env_file:
- ../../backend/.env.dist.local
- ../../backend/.env.dist.composed
- ../../backend/.env.override.local
- ../../backend/.env.override.composed
environment:
<<: *env-args
restart: always
networks:
- crowd-bridge
python-worker-dev:
build:
context: ../../backend/src/serverless/microservices/python
dockerfile: Dockerfile.kube
user: '${USER_ID}:${GROUP_ID}'
env_file:
- ../../backend/.env.dist.local
- ../../backend/.env.dist.composed
- ../../backend/.env.override.local
- ../../backend/.env.override.composed
environment:
<<: *env-args
hostname: python-worker
networks:
- crowd-bridge
networks:
crowd-bridge:
external: true