Merge pull request #1 from notthinkingtinker/main
This commit is contained in:
commit
49b33a8eec
@ -16,7 +16,7 @@ RUN apt-get -y update && \
|
||||
git \
|
||||
nmap \
|
||||
sshpass
|
||||
|
||||
RUN apt-get clean
|
||||
# let's install ansible using pip as root
|
||||
# this will give a fat red warning at runtime but is intended this way.
|
||||
RUN pip install --upgrade pip
|
||||
@ -26,7 +26,7 @@ RUN pip install ansible
|
||||
# and install it with apt
|
||||
RUN wget https://github.com/coder/code-server/releases/download/v4.6.0/code-server_4.6.0_amd64.deb
|
||||
RUN apt -y install ./code-server_4.6.0_amd64.deb
|
||||
|
||||
RUN apt-get clean
|
||||
# for compatibility with the non-docker version we just link the
|
||||
# /var/lib/rundeck directory to the /home/rundeck directory
|
||||
RUN ln -s /home/rundeck /var/lib/rundeck
|
||||
|
||||
@ -8,6 +8,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
container_name: rundeck
|
||||
hostname: rundeck
|
||||
restart: on-failure:5
|
||||
links:
|
||||
- mariadb
|
||||
@ -20,6 +21,8 @@ services:
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- ansible-data:/home/rundeck/ansible
|
||||
networks:
|
||||
- db-net
|
||||
mariadb:
|
||||
image: mariadb:10.5.8
|
||||
container_name: mariadb
|
||||
@ -28,6 +31,10 @@ services:
|
||||
.env
|
||||
volumes:
|
||||
- mariadb-data:/var/lib/mysql
|
||||
networks:
|
||||
- db-net
|
||||
volumes:
|
||||
mariadb-data:
|
||||
ansible-data:
|
||||
ansible-data:
|
||||
networks:
|
||||
db-net:
|
||||
Loading…
x
Reference in New Issue
Block a user