custom ports
This commit is contained in:
parent
bbd15d539f
commit
57bcbdcd18
2 changed files with 6 additions and 2 deletions
|
@ -22,8 +22,8 @@
|
|||
state: directory
|
||||
|
||||
- name: Create docker-compose.yaml file
|
||||
copy:
|
||||
src: files/docker-compose.yml
|
||||
template:
|
||||
src: templates/docker-compose.yml.j2
|
||||
dest: "{{ mastodon_composer_folder }}/docker-compose.yml"
|
||||
|
||||
- name: Ensure mastodon configuration is present
|
||||
|
|
|
@ -12,6 +12,8 @@ services:
|
|||
- ./postgres14:/var/lib/postgresql/data
|
||||
environment:
|
||||
- 'POSTGRES_HOST_AUTH_METHOD=trust'
|
||||
ports:
|
||||
- {{ mastodon_db_port }}:5432
|
||||
|
||||
redis:
|
||||
restart: always
|
||||
|
@ -22,6 +24,8 @@ services:
|
|||
test: ['CMD', 'redis-cli', 'ping']
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
ports:
|
||||
- {{ redis_port }}:6379
|
||||
|
||||
# es:
|
||||
# restart: always
|
Loading…
Reference in a new issue