generated from thesis-php/template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
40 lines (35 loc) · 1.08 KB
/
compose.yaml
File metadata and controls
40 lines (35 loc) · 1.08 KB
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
services:
php:
# noinspection ComposeUnknownValues
image: ghcr.io/phpyh/php:${PHP_IMAGE_VERSION:?Make sure `PHP_IMAGE_VERSION` is declared in `.env`}
user: ${CONTAINER_USER:-}
environment:
INSIDE_DEVCONTAINER: true
HISTFILE: /workspace/var/.docker_history
COMPOSER_CACHE_DIR: /workspace/var/.composer_cache
tty: true
volumes:
- .:/workspace:cached
working_dir: /workspace
nats-1:
image: nats
command: -c /etc/server.conf --name nats-1 -p 4222 -m 8222
volumes:
- ./docker/nats/server.conf:/etc/server.conf
nats-2:
image: nats
command: -c /etc/server.conf --name nats-2 -p 4222 -m 8222
volumes:
- ./docker/nats/server.conf:/etc/server.conf
nats-3:
image: nats
command: -c /etc/server.conf --name nats-3 -p 4222 -m 8222
volumes:
- ./docker/nats/server.conf:/etc/server.conf
nats-jwt:
image: nats
command: -c /etc/jwt-server.conf --name nats-jwt -p 4222 -m 8222
volumes:
- ./docker/nats/jwt-server.conf:/etc/jwt-server.conf
nats-cli:
image: bitnamilegacy/natscli:latest