-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
45 lines (42 loc) · 899 Bytes
/
compose.yaml
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
name: arsa
services:
frontend:
container_name: 'arsa-frontend'
hostname: 'arsa-frontend'
image: arsa-frontend:latest
restart: unless-stopped
depends_on:
backend:
condition: service_started
networks:
- network
ports:
- '80:80'
backend:
container_name: 'arsa-backend'
hostname: 'arsa-backend'
image: arsa-backend:latest
restart: unless-stopped
networks:
- network
ports:
- '3000:3000'
volumes:
- type: bind
source: /var/run/docker.sock
target: /var/run/docker.sock
- type: volume
source: arsa-servers
target: /app/servers
- type: volume
source: arsa-profiles
target: /app/profiles
volumes:
arsa-servers:
name: "arsa-servers"
arsa-profiles:
name: "arsa-profiles"
networks:
network:
driver: bridge
attachable: true