mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
2ba9e56033
This moves the container-based code location and venvs. The goal here is that the paths of Tower source for isolated vs normal nodes matches (both in prod and local development) so that we don't have to add a bunch of additional bwrap argument logic for <location-of-isolated-tower-venv>.
18 lines
453 B
YAML
18 lines
453 B
YAML
version: '3'
|
|
services:
|
|
# Primary Tower Development Container link
|
|
tower:
|
|
environment:
|
|
DOCKER_TOOLS_DIR: tools/docker-isolated
|
|
links:
|
|
- isolated
|
|
# Isolated Rampart Container
|
|
isolated:
|
|
image: gcr.io/ansible-tower-engineering/tower_isolated:${TAG}
|
|
hostname: isolated
|
|
volumes:
|
|
- "../awx/main/isolated:/tower_devel"
|
|
- "../awx/lib:/tower_lib"
|
|
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
|
|
privileged: true
|