-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (54 loc) · 1.4 KB
/
docker-compose.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
# BrAPIMapper docker compose file
#
# Run with "docker compose up"
# Stop with "docker compose down"
#
# Access through "http://localhost:8642" and "http://localhost:8080/brapi/v..."
# (or "http://$(docker-machine ip):8642" if using docker-machine)
#
version: '3.4'
services:
brapi:
# image: guignon:brapi4.0.0beta3-drupal10.1.2-php8.2-fpm-bookworm
image: guignon/brapi:beta1
env_file:
- 'brapi.env'
volumes:
- drupal-volume:/opt/drupal
- ./drupal/modules:/opt/drupal/web/modules
- ./drupal/profiles:/opt/drupal/web/profiles
- ./drupal/themes:/opt/drupal/web/themes
- ./drupal/vendor:/opt/drupal/vendor
- ./drupal/config:/opt/drupal/config
- ./drupal/private:/opt/drupal/private
- ./drupal/sites/default:/opt/drupal/web/sites/default
- ./drupal/drupal:/opt/drupal/exposed
- ./php:/opt/drupal/php
depends_on:
- db
restart: always
proxy:
image: nginx
ports:
- 8080:80
- 8642:8642
env_file:
- 'brapi.env'
volumes:
- type: bind
source: ./proxy/brapi-fpm.conf
target: /etc/nginx/conf.d/default.conf
read_only: true
- drupal-volume:/opt/drupal
depends_on:
- brapi
restart: always
db:
image: postgres:15
env_file:
- 'brapi.env'
volumes:
- ./data/pgdata:/var/lib/postgresql/data
restart: always
volumes:
drupal-volume: