Comments (9)
So @matburt, is this the only way to stop it:
docker stop awx_task awx_web memcached rabbitmq postgres
?I was hoping for something easier like
docker-compose up
docker-compose down
You can goto /tmp/awxcompose and docker-compose down from there.
from awx.
docker-compose -f ~/.awx/awxcompose/docker-compose.yml stop
from awx.
You wont lose data when stopping or removing the containers as the data from the postgres db container is stored in the location you specified in the inventory file (postgres_data_dir=/path/to/dir)
If you delete that folder you will lose all your data, also note that I think the default directory is still in /tmp for some reason so that may get wiped when rebooting if you have /tmp setup to do that
from awx.
just having a look in the Makefile
under target docker-compose:
I'd say:
# source from Makefile: (but without '-' in docker-compose
# create containers from image
docker compose -f tools/docker-compose/_sources/docker-compose.yml up --detach
# stop containers
docker compose -f tools/docker-compose/_sources/docker-compose.yml stop
# start containers
docker compose -f tools/docker-compose/_sources/docker-compose.yml start
from awx.
https://docs.docker.com/engine/reference/commandline/stop/
from awx.
So @matburt, is this the only way to stop it:
docker stop awx_task awx_web memcached rabbitmq postgres
?
I was hoping for something easier like
docker-compose up
docker-compose down
from awx.
If you use the development environment then you have more options for stopping. For the production container, it's deployed to run under the docker daemon on your server and there are multiple ways to manage running containers in that situation.
Managing production services is up to the user and out of the scope of the AWX project.
from awx.
hi @matburt , if i stop all my containers i will lose all the servers and templates saved?
from awx.
docker stop awx_task awx_web memcached rabbitmq postgres
minor correction for those running with default docker-compose
setup:
sudo docker stop awx_task awx_web awx_memcached awx_rabbitmq awx_postgres
from awx.
Related Issues (20)
- Expanding job's output window option not available anymore
- AWX 24.3.1 - quay.io/ansible/awx:24.3.1: not found HOT 3
- AWX oauth2 provider /user/:pk/personal_tokens/ always returns tokens for the current user regardless of the specified PK HOT 3
- AWX task fail with AnsibleUnsafeBytes for yaml collapsed string HOT 1
- task check_mode=false ignored by awx job template - Playbook Check
- Allow Kubernetes credentials on SCM inventories HOT 3
- Issue with AWX Callback and Host Matching Error
- concurrent jobs limit HOT 2
- Collection 24.3.1 displays warning claiming 0.0.1-devel HOT 2
- Feature Wants: kubectel delete -k . should only delete all the awx resources, but not the entire namespace HOT 2
- Azure Key Vault Private Key Passphrase not recognized HOT 2
- cancelled vs canceled - standardize spelling in codebase HOT 1
- Unable to install some galaxy collections (again) HOT 2
- duplicate timeseries coming from the metrics endpoint
- Cannot create multiple workflow approvals
- cant connect to legacy host using ssh-rsa /ssh-dss hostkey algorithm HOT 2
- Jobs fail with "Unable to find process isolation executable: podman" HOT 2
- Add support for AWS SNS(Simple Notification Service) notifications
- AWX 24.3.1 | Add team permission HOT 1
- Playbooks are not discovered in subdirectories within git project HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awx.