-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (40 loc) · 1009 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (40 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
43
44
45
46
47
48
services:
phoenixnebula:
build:
context: .
dockerfile: Dockerfile
image: nobodydeveloper/phoenixnebula:latest
container_name: phoenixnebula
stdin_open: true
tty: true
volumes:
- .:/app
# Mount home directory for shell history and config
- phoenixnebula:/home/phoenixnebula
# Mount themes directory
- phoenixnebula:/home/phoenixnebula/.phoenixnebula/themes
environment:
- PYTHONUNBUFFERED=1
- HISTFILE=/home/phoenixnebula/.phoenixnebula_history
- PHOENIXNEBULA_DEV=1
working_dir: /app
# Restart policy for development
restart: no
# Resource limits (development - higher)
deploy:
resources:
limits:
cpus: '2'
memory: 1G
reservations:
cpus: '1'
memory: 512M
volumes:
phoenixnebula-home:
driver: local
phoenixnebula-themes:
driver: local
networks:
default:
name: phoenixnebula
driver: bridge