Skip to content

Commit 5d810e3

Browse files
committed
Add user=root to supervisor configuration to prevent warnings
Remove default running for python app from supervisor configuration
1 parent 0cde848 commit 5d810e3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed
Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[supervisord]
22
nodaemon=true
3+
user=root
34

45
[program:postgres]
56
command=/usr/local/bin/docker-entrypoint.sh postgres
@@ -9,11 +10,3 @@ stderr_logfile=/var/log/supervisor/postgres.err.log
910
stdout_logfile=/var/log/supervisor/postgres.out.log
1011
priority=5
1112

12-
[program:app]
13-
command=python main.py
14-
directory=/app
15-
autostart=true
16-
autorestart=true
17-
stderr_logfile=/var/log/supervisor/app.err.log
18-
stdout_logfile=/var/log/supervisor/app.out.log
19-
priority=10

0 commit comments

Comments
 (0)