Hello,
I am installing awx on one of the servers that does not have access to the Internet
What I did was that I installed awx on one of my servers that had access to the Internet,
and then I saved the image and took it to my main machine in the safe zone and loaded it
with the following configuration, all containers are created except for redis, which It
keeps restarting and does not come up I put the error I get and all the things I felt needed
1:C 27 May 2024 08:27:14.526 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 27 May 2024 08:27:14.526 * Redis version=7.2.4, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 27 May 2024 08:27:14.526 * Configuration loaded
1:M 27 May 2024 08:27:14.526 * monotonic clock: POSIX clock_gettime
1:M 27 May 2024 08:27:14.527 * Running mode=standalone, port=0.
1:M 27 May 2024 08:27:14.527 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 27 May 2024 08:27:14.527 # Failed opening Unix socket: bind: Permission denied
==================================
CentOS Linux release 7.6.1810 (Core)
Docker version 26.1.3, build b72abbb
docker-compose version 1.29.2, build 5becea4c
awx 15.0.0
==================================
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a60a5572b10b ansible/awx:15.0.0 "/usr/bin/tini -- /u…" About an hour ago Up 16 minutes 8052/tcp awx_task
90a17e74cc07 ansible/awx:15.0.0 "/usr/bin/tini -- /b…" About an hour ago Up 16 minutes 0.0.0.0:9080->8052/tcp, :::9080->8052/tcp awx_web
cb6309e669f2 postgres:10 "docker-entrypoint.s…" About an hour ago Up 16 minutes 5432/tcp awx_postgres
c7f902509793 redis "docker-entrypoint.s…" About an hour ago Restarting (1) 37 seconds ago awx_redis
docker-compose.yml
version: '2'
services:
web:
image: ansible/awx:15.0.0
container_name: awx_web
depends_on:
- redis
- postgres
ports:
- "9080:8052"
hostname: awxweb
user: root
restart: unless-stopped
volumes:
- supervisor-socket:/var/run/supervisor
- rsyslog-socket:/var/run/awx-rsyslog/
- rsyslog-config:/var/lib/awx/rsyslog/
- "/var/lib/awx/awxcompose/SECRET_KEY:/etc/tower/SECRET_KEY"
- "/var/lib/awx/awxcompose/environment.sh:/etc/tower/conf.d/environment.sh"
- "/var/lib/awx/awxcompose/credentials.py:/etc/tower/conf.d/credentials.py"
- "/var/lib/awx/awxcompose/nginx.conf:/etc/nginx/nginx.conf:ro"
- "/var/lib/awx/awxcompose/redis_socket:/var/run/redis/:rw"
# environment:
# http_proxy:
# https_proxy:
# no_proxy:
task:
image: ansible/awx:15.0.0
container_name: awx_task
depends_on:
- redis
- web
- postgres
command: /usr/bin/launch_awx_task.sh
hostname: awx
user: root
restart: unless-stopped
volumes:
- supervisor-socket:/var/run/supervisor
- rsyslog-socket:/var/run/awx-rsyslog/
- rsyslog-config:/var/lib/awx/rsyslog/
- "/var/lib/awx/awxcompose/SECRET_KEY:/etc/tower/SECRET_KEY"
- "/var/lib/awx/awxcompose/environment.sh:/etc/tower/conf.d/environment.sh"
- "/var/lib/awx/awxcompose/credentials.py:/etc/tower/conf.d/credentials.py"
- "/var/lib/awx/awxcompose/redis_socket:/var/run/redis/:rw"
environment:
# http_proxy:
# https_proxy:
# no_proxy:
SUPERVISOR_WEB_CONFIG_PATH: '/etc/supervisord.conf'
redis:
image: redis
container_name: awx_redis
restart: unless-stopped
environment:
http_proxy:
https_proxy:
no_proxy:
command: ["/usr/local/etc/redis/redis.conf"]
volumes:
- "/var/lib/awx/awxcompose/redis.conf:/usr/local/etc/redis/redis.conf:ro"
- "/var/lib/awx/awxcompose/redis_socket:/var/run/redis/:rw"
postgres:
image: postgres:10
container_name: awx_postgres
restart: unless-stopped
volumes:
- "/var/lib/awx/pgdocker/10/data/:/var/lib/postgresql/data:Z"
environment:
POSTGRES_USER: awx
POSTGRES_PASSWORD: P@ssw0rd
POSTGRES_DB: postgres
# http_proxy:
# https_proxy:
# no_proxy:
volumes:
supervisor-socket:
rsyslog-socket:
rsyslog-config: