This repository was archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.dev.yml
67 lines (61 loc) · 1.63 KB
/
docker-compose.dev.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# SPDX-License-Identifier: BSD-2-Clause
# Copyright (c) 2020-2023, The Chancellor, Masters and Scholars of the University
# of Oxford, and the 'Galv' Developers. All rights reserved.
version: "2"
services:
harvester:
build:
dockerfile: Dockerfile
context: ./harvester
depends_on:
- app
volumes:
- ./harvester:/usr/harvester
- ./.harvester:/harvester_files
- "${GALV_HARVESTER_TEST_PATH}:/usr/test_data"
working_dir: /usr/harvester
restart: unless-stopped
command: python start.py --name "harvey" --url http://app/ --user_id 1 --run_foreground --restart
# command: tail -F anything
frontend:
image: frontend_dev
build:
dockerfile: Dockerfile_dev
context: ./frontend
args:
FORCE_HTTP: "true"
volumes:
- ./frontend:/app
working_dir: /app
command: >
bash -c "
yarn install &&
yarn start -p 80
"
restart: unless-stopped
app:
volumes:
- ./backend:/usr/app
environment:
DJANGO_SETTINGS: "dev"
postgres:
ports:
- "5432:5432"
nginx-proxy-acme-companion:
restart: "no"
entrypoint: [ "echo", "Service nginx-proxy-acme-companion disabled in development mode" ]
# old_worker:
# build:
# dockerfile: Dockerfile
# context: ./backend
# command: python manage.py test
# depends_on:
# - postgres
# volumes:
# - ./backend:/usr/app
# - "${GALV_HARVESTER_BASE_PATH}:/usr/data"
# - "${GALV_HARVESTER_TEST_PATH}:/usr/test_data"
# - "${CELERY_LOG_DIR}:/var/log/celery"
# working_dir: /usr/app
# env_file:
# - ./.env