mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
a361b5da6e
I wanted to pass `—user` to `docker-compose` up, but that option doesnt exist. To get around this, I had to record the uid on the host (CURRENT_UID), interpolate the variable in tools/docker-compose.yml, and detect that inside the container. I then piggy-backed on the /etc/passwd hack we use for scenarios with unpredictable uids.
14 lines
269 B
Bash
Executable File
14 lines
269 B
Bash
Executable File
#!/bin/bash
|
|
set +x
|
|
|
|
/bootstrap_development.sh
|
|
|
|
cd /awx_devel
|
|
# Start the services
|
|
if [ -f "/awx_devel/tools/docker-compose/use_dev_supervisor.txt" ]; then
|
|
make supervisor
|
|
else
|
|
export PYTHONIOENCODING=utf_8
|
|
honcho start -f "tools/docker-compose/Procfile"
|
|
fi
|